﻿#pragma once


// CCompositionDlg 对话框
#include "ListCtrlEdit.h"
#include "refprop1.h"

class CCompositionDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CCompositionDlg)

public:
	CCompositionDlg(char _components[ncmax][refpropcharlength], double*_x, long _ncomp, CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CCompositionDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_COMPOSITION_DIALOG };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	CListCtrlEdit m_xListEdit;
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedOk();
	char components[ncmax][refpropcharlength];
	long ncomp;
	double x[ncmax];
};
